Skip to content

chore(ci): test summary step - #20

Draft
swaldmann wants to merge 5 commits into
mainfrom
summary-test
Draft

chore(ci): test summary step#20
swaldmann wants to merge 5 commits into
mainfrom
summary-test

Conversation

@swaldmann

Copy link
Copy Markdown
Contributor

Similar to cap-js/mcp#35, to delay the extended test suite to the merge queue.

Just running Node 24 + latest cds in PRs, as that's triggered for every push.

Have you...

  • Added relevant entry to the change log?

Adds a Summary job (mirrors cap-js/mcp pattern) that needs [test, test-hybrid]
and exits 1 on any failure or cancellation. gh_ruleset.json makes Summary the
single required check on main, replacing individual matrix job entries.
@swaldmann swaldmann changed the title Summary test chore(ci): test summary step Aug 11, 2026
Comment thread .github/workflows/test.yml Fixed
…ntain permissions'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@swaldmann

Copy link
Copy Markdown
Contributor Author

Required checks have to be adapted in GH repo settings, will do after review

@swaldmann
swaldmann marked this pull request as ready for review August 11, 2026 15:33
@swaldmann
swaldmann requested a review from a team as a code owner August 11, 2026 15:33
@hyperspace-pr-bot

Copy link
Copy Markdown

Summary

The following content is AI-generated and provides a summary of the pull request:


chore(ci): Optimize CI test matrix and add summary step

Category: Chore

This PR refines the CI workflow to reduce unnecessary test runs on pull requests while ensuring full coverage in the merge queue.

Key changes to .github/workflows/test.yml:

  • Trigger update: Replaced push to main with merge_group, so the extended test suite only runs when PRs enter the merge queue — not on every push.
  • Matrix exclusion: In PR builds, the matrix is trimmed to only run Node 24 + latest CDS, avoiding redundant combinations. The full matrix (Node 22/24 × CDS 8/9/latest) runs in the merge queue.
  • Summary job: Added a new summary job (if: always()) that depends on both test and test-hybrid. It fails the workflow if any dependent job was cancelled or failed — enabling branch protection rules to use a single status check rather than tracking individual matrix jobs.

Have you...

  • Added relevant entry to the change log?

  • 🔄 Regenerate and Update Summary
  • ✏️ Insert as PR Description (deletes this comment)
  • 🗑️ Delete comment
PR Bot Information

Version: 1.29.18 | 📖 Documentation | 🚨 Create Incident | 💬 Feedback

  • Event Trigger: pull_request.ready_for_review
  • File Content Strategy: Full file content
  • Correlation ID: 042fcde0-959a-11f1-95f5-f6f403dcc747
  • LLM: anthropic--claude-4.6-sonnet
  • Summary Prompt: Default Prompt
  • Output Template: Repository PR Template

💌 Have ideas or want to contribute? Create an issue and share your thoughts with us!
📑 Check out the documentation for more information.
📬 Subscribe to the Hyperspace PR Bot DL to get the latest announcements and pilot features!

Made with ❤️ by Hyperspace.

if: always()
runs-on: ubuntu-latest
name: Summary
needs: [test, test-hybrid]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the hybrid test result from the PR checks reused in the merge queue or does it need to run again?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case it's run again. I'd prefer to move hybrid checks to merge queue only if you're okay with not having the PR checks.

@swaldmann
swaldmann marked this pull request as draft August 11, 2026 16:29
@swaldmann

Copy link
Copy Markdown
Contributor Author

Draft until hybrid tests are < 10 min

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants